Closed Bug 1868328 Opened 1 years ago Closed 1 year ago

Fix clippy warnings in intl/l10n/rust/l10nregistry-rs/src/source/mod.rs

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox123 fixed)

RESOLVED FIXED
Tracking Status
firefox123 --- fixed

People

(Reporter: Sylvestre, Assigned: tjamesmac, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [lang=rust])

Attachments

(1 file)

Filling as a good first bug to learn workflows.

intl/l10n/rust/l10nregistry-rs/src/source/mod.rs
  167:1   warning  this `impl` can be derived  clippy::derivable_impls (clippy)
  412:54  warning  redundant closure           clippy::redundant_closure (clippy)

Links to the code:
https://searchfox.org/mozilla-central/rev/78a2c17cc80680a5a82446e4ce7c45a73b935383/intl/l10n/rust/l10nregistry-rs/src/source/mod.rs#167

To run clippy:

./mach lint -l clippy intl/l10n/rust/l10nregistry-rs/src/  -W -v -n

As the change is trivial, it is just to learn how to contribute to Firefox.

Tutorial to contribute:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html

Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.

Assignee: nobody → tjamesmac
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: